package com.streambolics.worseminton.servlet;

import javax.servlet.http.HttpServletRequest;

import com.streambolics.worseminton.data.Location;

public class LocationCreateHandler extends LocationHandler
{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @Override
    protected Location generateResponseObject (HttpServletRequest aRequest) throws Exception
    {
        return createNewLocation ();
    }

    @Override
    protected String getRedirect (Location aResponseObject)
    {
        return aResponseObject.getIdUrl ("/go/Location");
    }
}
